﻿<!DOCTYPE html >
<html>
<head>
    <title></title>
</head>
<body>
    <table>
        <tr>
            <td>
                window.screen.availHeight:
            </td>
            <td>
                <input type="text" value="" onfocus="javascript:this.value=window.screen.availHeight" />
            </td>
        </tr>
        <tr>
            <td>
                document.body.offsetHeight :
            </td>
            <td>
                <input type="text" value="" onfocus="javascript:this.value=document.body.offsetHeight" />
            </td>
        </tr>
        <tr>
            <td>
                window.innerHeight :
            </td>
            <td>
                <input type="text" value="" onfocus="javascript:this.value= window.innerHeight" />
            </td>
        </tr>
    </table>
    <script type="text/javascript" src="/Scripts/jquery-1.8.3.js"></script>
    <script type="text/javascript">
     
    </script>
</body>
</html>
